<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

/*
Route::get('/', function () {
    return view('welcome');
});
*/
//EmberApi
Route::group(['namespace'=>'EmberApi','prefix'=>'emberapi'],function (){
    Route::get('/stats','EmberApiController@stats')->name('emberapi.stats');
    Route::get('/accounts','EmberApiController@accounts')->name('emberapi.account');
    //->where('address','(.+)');
    Route::get('/blocks','EmberApiController@blocks')->name('emberapi.blocks');
    Route::get('/miners','EmberApiController@miners')->name('emberapi.miners');
    Route::get('/payments','EmberApiController@payments')->name('emberapi.payments');
});